import React, { useEffect } from 'react';

import '../../../index.scss';
const Head: React.FC = () => {
  const componentWillUnmount = () => {
    console.log('资源已经加载好了');
  };
  useEffect(() => {
    return componentWillUnmount;
  }, []);
  return (
    <div className="head">
      <img src={require('../../../../assets/image/logo.png')} alt="" />
      <span>云井智能</span>
    </div>
  );
};

export default Head;
